package com.ruigi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruigi.pojo.Category;
import com.ruigi.pojo.R;

import java.util.List;

public interface CategoryService extends IService<Category> {
    R<String> save1(Category category);

    R<Page> page1(int page, int pageSize);

    R<String> delete(Long ids);

    public void remove(Long ids);

    R<String> update(Category category);

    R<List<Category>> type(Category category);
}
